load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "procfs",
    srcs = [
        "arp.go",
        "buddyinfo.go",
        "cpuinfo.go",
        "crypto.go",
        "doc.go",
        "fs.go",
        "ipvs.go",
        "loadavg.go",
        "mdstat.go",
        "meminfo.go",
        "mountinfo.go",
        "mountstats.go",
        "net_conntrackstat.go",
        "net_dev.go",
        "net_sockstat.go",
        "net_softnet.go",
        "net_udp.go",
        "net_unix.go",
        "proc.go",
        "proc_environ.go",
        "proc_fdinfo.go",
        "proc_io.go",
        "proc_limits.go",
        "proc_ns.go",
        "proc_psi.go",
        "proc_stat.go",
        "proc_status.go",
        "schedstat.go",
        "stat.go",
        "swaps.go",
        "vm.go",
        "xfrm.go",
        "zoneinfo.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/prometheus/procfs",
    importpath = "github.com/prometheus/procfs",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/prometheus/procfs/internal/fs",
        "//vendor/github.com/prometheus/procfs/internal/util",
    ],
)
